package com.chenqi.community.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @author Ardai
 * 分页信息封装类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PageInfo {
    private Integer page; //当前页
    private Integer rows; //每页条数
    private List<Post> postList; //分页帖子
    private Integer totalPages; //总页数
    private List<Integer> pageList; //总页数集合
    private Object other; //可能需要的其他值
}
